package com.gaussian.property.module.biz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.songqi.common.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 项目的监控指标
 * </p>
 *
 * @author songqi(13776346982)
 * @since 2024-09-29
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("project_monitor_indicator")
public class ProjectMonitorIndicator extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目监控指标id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String projectMonitorIndicatorId;

    /**
     * 项目id
     */
    private String projectId;

    /**
     * 监控指标id
     */
    private String monitorIndicatorId;

    /**
     * 比较运算符。gt,ge,eq,lt,le
     */
    private String comparisonOperator;

    /**
     * 比较值
     */
    private String comparisonValue;

    /**
     * 启用标记。1-启用，0-停用
     */
    private Integer enableStatus;

}
